package com.ai.wxy.spring.user.dao;

import com.ai.spring.data.jpa.dao.JpaDao;
import com.ai.wxy.spring.user.domain.User;
import com.ai.wxy.spring.user.respository.UserRespository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 用户操作类
 *
 * @author 石头
 * @Date 2019/10/25
 * @Version 1.0
 **/
@Component
public class UserDao extends JpaDao<UserRespository,User> {
    @Autowired
    @Override
    public void setRespository(UserRespository respository) {
        this.baseRespository = respository;
    }
}
